package railRoad;

/**
 * Class that presents User data
 * 
 * @author Rukin
 *
 */
public class User {
	private int user_id;
	private String login;
	private String password;
	private String email;
	private int human_id;
	private boolean admin;

	public int getUser_id() {
		return user_id;
	}

	public User() {
		this(-1, "foo", "foo","email", -1, false);
	}

	public User(int user_id, String login, String password, String email,
			int human_id, boolean admin) {
		super();
		this.user_id = user_id;
		this.login = login;
		this.password = password;
		this.human_id = human_id;
		this.email = email;
		this.admin = admin;
	}
	
	public void setUser_id(int user_id) {
		this.user_id = user_id;
	}

	public String getLogin() {
		return login;
	}

	public void setLogin(String login) {
		this.login = login;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public int getHuman_id() {
		return human_id;
	}

	public boolean isAdmin() {
		return admin;
	}

	public void setAdmin(boolean admin) {
		this.admin = admin;
	}

}
